﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GUI.uc_control
{
    public partial class ChamCongNhanVien : UserControl, GUI.uc_control.ucInterface
    {
        Action<GUI.uc_control.ucEventInterface> _CallBack;

        public ChamCongNhanVien()
        {
            InitializeComponent();
            _CallBack = null;
        }

        public ChamCongNhanVien(Action<GUI.uc_control.ucEventInterface> callback)
        {
            InitializeComponent();
            _CallBack = callback;
        }

        public String GetName()
        {
            return "CHAM CONG NHAN VIEN";
        }

        public int GetUCID()
        {
            return GUI.uc_control.ucID.UCID_CHAM_CONG_NHAN_VIEN;
        }

        public bool NeedToSave() { return true; }

        public int SaveChange() { return 0; }
    }
}
